import yaml

class ConfigLoader:
    _instance = None
    
    def __new__(cls):
        if not cls._instance:
            cls._instance = super().__new__(cls)
            cls._load_config()
        return cls._instance
    
    @classmethod
    def _load_config(cls):
        with open("config/settings.yaml", encoding='utf-8') as f:
            cls.config = yaml.safe_load(f) 